Margot Robbie stars in the period epic which flopped at the box office but has now developed a fierce cult following